<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="lib/vue.js"></script>
</head>
<body>
<div id="root">
  <one></one>
</div>
</body>
<script>
  Vue.prototype.name = 'sxx';
  new Vue({
    el: "#root",
    components:{
      One:{
        template:(`
				    <div>
				        <button >{{name}}</button>
                    </div>
		`),
        data(){
          return {
            name : 'sxx'
          }
        }
      }
    }
  })
</script>
</html>